package com.raulraja.util.thumbnails;

import java.io.InputStream;

/**
 * An engine in charge of generating thumbnails for files
 */
public interface ThumbnailGeneratorEngine {

	/**
	 * @param fileNamePrefix the prefix for the generated thumbnails
	 * @param inputStream	the stream to generate thumbnails for
	 * @param contentType	the content type of this input stream for example image/jpeg
	 */
	void generateThumbnails(String fileNamePrefix, InputStream inputStream, String contentType);
}
